board_no=$board_no
";
$comment_contents=str_replace("\n","
",$comment_contents);
$q1="insert into ".$board."_comment values (".$board."_COMMENT_NO.NEXTVAL,$board_no,'$comment_id','$comment_pass','$comment_contents',time())";
dmlc($q1,$board."_comment");
unset($mode);
}
if($mode!="comment_insert"&&!$no&&!$board){alert('ERROR','history.go(-1)');exit;}
//Á¶È¸¼ö Áõ°¡ ÇÏ·ç¿¡ Çѹø ÇѰ³ÀDZÛ
if(!$HTTP_COOKIE_VARS["wsee"]){
$q1="update $board set wsee=wsee+1 where no=$no";
dmlc($q1,$board);
//setcookie("wsee",$no,time()+86400,"/",".fanea.org");
}else{
$wsee=$HTTP_COOKIE_VARS["wsee"];
if($wsee!=$no){
$q1="update $board set wsee=wsee+1 where no=$no";
dmlc($q1,$board);
//setcookie("wsee",$no,time()+86400,"/",".fanea.org");
}
}
$q1="select
no,id,en_name,n_name,
mail,mail_open,link,
en_title,n_title,en_contents,n_contents,
en_keyword,n_keyword,en_author,n_author,issue_date,
wtype1,wtype2,
wdate,wsee,wstep,wgroup,ino,sfilename,filename,filever
from $board where no=$no";
//echo $q1."
|
|
| =$wdate?> | #if(!eregi("notice",$board)) #{ ?> if(!trim($n_contents)) { ?> }else{ ?> Read this content in [English] [=nation($wtype1)?>] } #} ?> |
|
|||||
|
Name
|
=$en_name?> | ||||
|
Name
|
=$en_name?> |
Issue date
|
=substr($issue_date,0,4)."/".substr($issue_date,4,2)."/".substr($issue_date,-2);?> | ||
|
Keyword
|
=$en_keyword?> |
author
|
=$en_author?> | ||
|
|
Attached file
|
$sfilename_cnt=count($sfilename_a);
for($i=0;$i<$sfilename_cnt;$i++){
echo " $sfilename_a[$i] ($filever_a[$i]) "; } ?> |
||